package com.huidu.bitrade.service;

import com.huidu.bitrade.entity.transform.AuthMember;
import com.huidu.bitrade.enums.MemberStarEnum;

import java.math.BigDecimal;

public interface PurchasePayService {

    /**
     * 购买
     * @param payType 支付方式
     * @param authMember
     * @param levelEnum 需要购买的星级
     * @param purchaseCount 实际需要购买的份数
     * @param batchCode
     * @param currentHdz 当前hdz价格
     * @return
     */
    boolean purchase(Integer payType, AuthMember authMember, MemberStarEnum levelEnum, Integer purchaseCount, String batchCode, BigDecimal currentHdz);
    void purchaseImport(Integer payType, AuthMember authMember, MemberStarEnum starEnum, Integer purchaseCount, String batchCode, BigDecimal currentHdz);
}
